import { defineStore } from "pinia";

const startDate = new Date()
// const endDate = startDate.setDate(startDate.getDate() + 1)
const endDate = new Date().getTime() + 24 * 60 * 60 * 1000

const useMainStore = defineStore('main', {
  state: () => ({
    token: "",

    startDate: startDate,
    endDate: endDate,

    isLoading: false
  })
})

export default useMainStore